/**
 * jims
 */
package com.jims.master.modules.emr.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * Entity
 * @author WangYongQiang
 * @version 2018-08-16
 */
public class ElectronIndexDisease extends DataEntity<ElectronIndexDisease> {
	
	private static final long serialVersionUID = 1L;
	private String zhuyuanId;		// 住院信息外键
	private String patientId;		// 病人信息外键
	private Date shijian;		// 时间
	private String yibanxiangmu;		// 一般项目
	private String bingshitedian;		// 病史特点
	private String chubuzhenduan;		// 初步诊断
	private String zhenduanyiju;		// 诊断依据
	private String jianbiezhenduan;		// 鉴别诊断
	private String zhenduanjihua;		// 诊断计划
	
	public ElectronIndexDisease() {
		super();
	}

	public ElectronIndexDisease(String id){
		super(id);
	}

	@Length(min=1, max=64, message="住院信息外键长度必须介于 1 和 64 之间")
	public String getZhuyuanId() {
		return zhuyuanId;
	}

	public void setZhuyuanId(String zhuyuanId) {
		this.zhuyuanId = zhuyuanId;
	}
	
	@Length(min=1, max=64, message="病人信息外键长度必须介于 1 和 64 之间")
	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getShijian() {
		return shijian;
	}

	public void setShijian(Date shijian) {
		this.shijian = shijian;
	}
	
	public String getYibanxiangmu() {
		return yibanxiangmu;
	}

	public void setYibanxiangmu(String yibanxiangmu) {
		this.yibanxiangmu = yibanxiangmu;
	}
	
	public String getBingshitedian() {
		return bingshitedian;
	}

	public void setBingshitedian(String bingshitedian) {
		this.bingshitedian = bingshitedian;
	}
	
	public String getChubuzhenduan() {
		return chubuzhenduan;
	}

	public void setChubuzhenduan(String chubuzhenduan) {
		this.chubuzhenduan = chubuzhenduan;
	}
	
	public String getZhenduanyiju() {
		return zhenduanyiju;
	}

	public void setZhenduanyiju(String zhenduanyiju) {
		this.zhenduanyiju = zhenduanyiju;
	}
	
	public String getJianbiezhenduan() {
		return jianbiezhenduan;
	}

	public void setJianbiezhenduan(String jianbiezhenduan) {
		this.jianbiezhenduan = jianbiezhenduan;
	}
	
	public String getZhenduanjihua() {
		return zhenduanjihua;
	}

	public void setZhenduanjihua(String zhenduanjihua) {
		this.zhenduanjihua = zhenduanjihua;
	}
	
}